package cn.autumnorange.app.user.consumer.authorization.security.security.basicLogin;

import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.security.web.authentication.www.BasicAuthenticationFilter;

/** basic认证方式可以为get请求 其用户名密码存放再Header头中不在url */
public class JsonBasicAuthenticationFilter extends BasicAuthenticationFilter {
  public JsonBasicAuthenticationFilter(AuthenticationManager authenticationManager) {
    super(authenticationManager);
  }

  public JsonBasicAuthenticationFilter(
      AuthenticationManager authenticationManager,
      AuthenticationEntryPoint authenticationEntryPoint) {
    super(authenticationManager, authenticationEntryPoint);
  }
}
